quartz: Emulate root window as 1x1 bitmap
authorKristian Rietveld <kris@gtk.org>
Mon, 4 Oct 2010 09:43:16 +0000 (11:43 +0200)
committerKristian Rietveld <kris@gtk.org>
Mon, 4 Oct 2010 09:45:47 +0000 (11:45 +0200)
commit8970b174dc274104ff86733a48b0e05e33791431
treedde3908aacb84ae445ee639c8e4de366615af301
parent97bdf55b6d1c61e3242c3308c91920b4ed6fbbf6
quartz: Emulate root window as 1x1 bitmap

We subclass GdkWindowImplQuartz into a new GdkRootWindowImplQuartz,
and override the get_context method in order to do this cleanly.
Also made release_context a virtual method, since the root window has
to release its CGContextRef differently compared to normal windows.
gdk/quartz/gdkdrawable-quartz.c
gdk/quartz/gdkdrawable-quartz.h
gdk/quartz/gdkwindow-quartz.c
gdk/quartz/gdkwindow-quartz.h